
$(document).ready(function() {

});

function operateFormatter(value, row, index) {
    return [
        '<a class="regla ml10" href="javascript:void(0)" title="cambiar regla">',
        '<span class="label label-primary">Detalle</span>'
    ].join('');
}

window.operateEvents = {
    'click .regla': function(e, value, row, index) {
        window.location.href = '/EmergenciasWAR/reglas/paciente/diagnostico/' + row.idDiagnosticoPaciente;
    }
};